<?php
  echo $this->Html->css('calendar/fullcalendar');
?>

<div id="content-outer">
  <div id="content">
	<!--  start page-heading -->
	<div id="page-heading">
		<h1><?php echo __('Event Detail');?></h1>
    <?php //echo $this->Html->link("Ticket", array('action' => 'add')); ?>&nbsp;&nbsp;
	</div>
	<!-- end page-heading -->
	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
  	<tr>
  		<th rowspan="3" class="sized">
          <?php //echo $this->Html->image('/images/shared/side_shadowleft.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
      </th>
  		<th class="topleft"></th>
  		<td id="tbl-border-top">&nbsp;</td>
  		<th class="topright"></th>
  		<th rowspan="3" class="sized">
          <?php //echo $this->Html->image('/images/shared/side_shadowright.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
      </th>
  	</tr>
  	<tr>
  		<td id="tbl-border-left"></td>
  		<td>
  		<!--  start content-table-inner ...................................................................... START -->
    		<div id="content-table-inner">
      		 <div id="table-content">
          	<!--  start table-content  -->
              <div style="border:none;" class="events view">
              	<dl><?php $i = 0; $class = ' class="altrow"';?>
              		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Event Type'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php echo $event['EventType']['name']; ?></dd>
              		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Title'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php echo $event['Event']['title']; ?></dd>
              		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Details'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php echo $event['Event']['details']; ?></dd>
              		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Status'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php echo $event['Event']['status']; ?></dd>
              		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Start'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php echo $event['Event']['start']; ?></dd>
              		<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('End'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php if($event['Event']['all_day'] != 1) { echo $event['Event']['end']; } else { echo "N/A"; } ?></dd>
                              <dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('All Day'); ?></dt>
              		<dd<?php if ($i++ % 2 == 0) echo $class;?>><?php if($event['Event']['all_day'] == 1) { echo "Yes"; } else { echo "No"; } ?></dd>
              	</dl>
              </div>
      <!--  end content-table  -->
    		  </div>
        </div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

  </div>
</div>